package com.mini.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @description: 计划基础信息
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessPlanInfo implements Serializable {

    public BusinessPlanInfo(String planName) {
        this.planName = planName;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "计划站点")
    private Long planSite;
    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "状态")
    private Integer status = 1;

    private Date createTime;
    private Date updateTime;

}
